Release 10.1A: OpenEdge Development:
Progress 4GL Reference
– Subtraction operator
Subtracts one numeric expression from another numeric expression.
Syntax
expressionAn expression with a numeric value.
ExampleThis procedure determines the amount of inventory available by subtracting the amount allocated from the total on hand:
Note
Subtracting one decimal expression from another produces a decimal value. Subtracting one integer expression from another produces an integer. Subtracting an integer expression from a decimal expression (or subtracting a decimal expression from an integer expression) produces a decimal value.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |